package AbstractClass.AbstractClassDome001;

/**
 * ClassName:Test
 * Package:AbstractClass
 * Description:
 *
 * @Author:ZhangXin
 * @Create2023/1/24-19:06
 * @Version:v1.0
 */
public class Test {
    public static void main(String[] args) {
        //创建对象
        //抽象类不能实例化
//        Person p = new Person();

        Student s = new Student("张三",23);
        System.out.println(s.getName()+" "+s.getAge());
    }
}
